const KerwinToken = artifacts.require('KerwinToken.sol')
module.exports = async function(callback) {
    const Kerwintoken = await KerwinToken.deployed()
    let res1 = await Kerwintoken.balanceOf('0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1');
    console.log("初始化账号余额：",web3.utils.fromWei(res1,"ether"))
    await Kerwintoken.transfer('0xFFcf8FDEE72ac11b5c542428B35EEF5769C409f0',
        web3.utils.toWei(10000+"","ether"),
        {
            from:"0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1"
        }
    )
    let aBalance = await Kerwintoken.balanceOf("0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1");
    console.log("第一个账号余额：",web3.utils.fromWei(aBalance,"ether"))
    let bBalance = await Kerwintoken.balanceOf("0xFFcf8FDEE72ac11b5c542428B35EEF5769C409f0");
    console.log("第二个账号余额：",web3.utils.fromWei(bBalance,"ether") )
    callback()
}